import { createRouter, createWebHashHistory } from 'vue-router'
import Calculator from '../views/Calculator.vue'
import Batch from '../views/Batch.vue'

const routes = [
  {
    path: '/',
    name: 'Batch',
    component: Batch
  },
  {
    path: '/calculator',
    name: 'Calculator',
    component: Calculator
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router 